Add validation on title field
Add error feedback for title field