redid the sso includeOptimized branch
grunt fixes and a response code
Merge pull request #37 from Pomax/includeOptimize2

redid the sso includeOptimized branch