fixed login bug for user exists