added flash messages
added link to root