horrendous authentication in place
added javadoc comments