defined route_url
added flash message syntex