Began code for remember me option