Initial implementation to validate tokens with SHA 256. Still needs to be refined