Added handler to login requests