Use has_secure_password to add authentication functionality