fixed some paging issues with 0 entries, and removed session destroy logic from userbase and adding a global field getter to mongobase