add notice messages to homepage and restructure session create method.