Added login and register templates

- Corrected bug in login process
- Still need to add database migrations for testing