fixed bug where login button shown