added Guard.  added helper for layout page