adding bcrypt for password hashing
authenticate & registration methods