Fixed the front page in the event that the post database was empty.
Made emails optional for user creation in order to pass Udacity's grader.