Refactors profile_owner before_filter into two methods to clean up authorization for profiles.