fix for login with new user