Checked to make sure the user is authenticated before going on.