login functionality correction