Removed extra showOld if statements
Refactored setOptionChecks
Reduced extra code for rememberMe in login.js