fixes on user login