added spring security rest for token based login and appinfo plugin