added function to verify user email and authorization submission