# 19th April Report
This is the eighth study report of NTUST Internship program, before going to Taiwan. In before report, I have explain about how to create simple login and register page using Ionic 4 and Firebase feature for authentication. Because of we will using different API other than Firebase so here I will explain about the workflow of login and register page which I have discuss with my partner on NTUST.
## Summary of this week
- Register workflow:
- Create user by entering basic data (like: name, domicile, etc.), email address, username, and password
- When user prompt to create new user, system will gives token as authorization that no backdoor or third party to steal the access
- If email address and username is not duplicate with one in the database, then is valid to register
- Send validation email to user's email address
- After that, user can log in with the username and password
- Login workflow:
- User use his username and password to log in into his account
- After login, user will directed to dashboard
## Documentation
- Register flowchart
<center>
<img src="https://raw.githubusercontent.com/aru1702/images/master/ntust-documentation/09-02.jpg" alt="img-02.jpg">
</center>
</br>
- Login flowchart
<center>
<img src="https://raw.githubusercontent.com/aru1702/images/master/ntust-documentation/09-01.jpg" alt="img-02.jpg">
</center>
</br>
## References
- https://hackmd.io/GHgq-LcFTcmuzwWlXWc_nA
###### tags: `pre-intern report`