Servlet and tokenGenerator added, add device to registration list added