minor bug fixes,fixed author searching bug,added missing javadoc