added register new user feature; added password_digest to db; added validations for password