login recognizes if user exists or not