Add register page
Improve login form
Use session storage
Display refresh error
Factorized alerts controller