update remember user name and password, and enable auto login function