fixing user login