Added more error handling for auth
Removed redundant package file
Updated email tests and module