throw user to login if trying to edit without logging in