Added handler for login button