website fixes for login and register