Fixed small login bug