set up application_controller methods is_authenticated? & current_user; add self.authenticate method to user model