Only show edit button when user is logged in