Added css for flash messages
Added edit and update actions
Added tests and assoc