style edit
restore password function refactor