Added logging for login issue