Move password to db