Fixed a minor login issue