change redirection after trying to edit page