fixing normal login, broke without the else