Fixed the issue with login