Fix login css bug and js bug