added flash messages and flash css