Added md5 encryption functions to users.js, Fixed encryption functionality

Fixed encryption functionality so that is now properly encrypting each
new user's password