Started working on user sessions. Moved flash messages to the layout.