How to properly store a password in the Database