Storing passwords the right way on a database with an example on Node.JS backend