fixed user login issue