fixed issue with login