show edit page if logged in