fix for user login process