makes sure not to allow them to save unless they are logged in