Fixed issue with login