fixed user login bug v2