Added register servlet with tokening function