Login/Logout/Register pages refactored