refactored error messages, added styling for flash notices, refactored post route for new task list and form_for