add control and mongoose