Fixed login and token services

Corrected service names,
fixed date convertion