updated people controller to accept the title field