added flash message
added some costum routes