reposition nav bar, edit and delete visible only if user is logged in