moved the inbox/outbox query to initialize
add Group model