unauthorized users redirect to edit page after they login