added authentication to user model using BCrypt. Needed to add include ActiveModel::SecurePassword to user model for BCrpyt to properly function with MongoDB.