added more styling, controller actions, flash messages support