Integrating creating controller functions for login and register actions.
Handling user registration forms.