Fixed size of name field
Added flash messages and redirect after submit