Added HTML for login and register
Added logic for register, login, logout and email confirmation