user can choose whether remember username and password