Added sample code to run as the authenticated Subject
Simplified code, removed container class
Analyzing resize behaviour