bug fix with the security token and apps
fixing config files