Added before_action to authenicate.