fix case bugs in login page