email authentication and view