Got authentication with token validations working