Use wp's is_user_logged_in to determine the user status before saving