added in subs for both home and visitor.  Also added in toggle button for mode.  Need to implement functionality now though.