Refactor adding expert detail record to db