added flash, sessions, changed the link to the user page to display their name