add doctrine and user repo