preventing users who are not logged in from accessing thee account settings page
renaming method