Added email validation

added email validation check server side and client side
device checks if user is verified before proceeding to the app