added email test and pared down routes