corections on login and registration