login and mian page separated, password update corrected