added admin auth and email service