added the verifier API call.
made the if statement use a new method to check the validity of a token
Merge branch 'userAuthentication' into develop