add routes and methods to confirm email at user registration
fix static path
fix #/login path