Add ResultSetManager. and change userid type in model SessionHistory to
Long from long