Restore password implemented