made footer fixed to bottom. added flash messages.
Added error messages on failures