Fixed a login issue