Add login method
Set named route for login page
Add data validation
Add a User model
Add Base Model class
Add method to log the user in
Simplify login proccess, since it is already handled by model
Add missing semi colon
Create our own F3 flash message library
Create our own F3 flash message library
Add flash message when username or password is still empty
Catch error message set in flash
Display error message
Fix misspelling token
Fix wrong method to fetch session data
Add database connection instance to base model
Add method to initialize F3 ORM instance
Rename getConnection to initConnection
Init ORM in constructor
Add table name as an instance