init state mostly works

changed the request.getAttributes to request.getParameter
Merge branch 'master' into MoreyBranch