formatting homepage and authentication pieces