added logout routine, added flash css