Fix flash messages display and styles
Add login, logout and register routes