Fixed error with login of new users