Change classloader for better compatibility with JWS
Fix imports
FIx layout of dynamic created elements on UserPermissions.java