wrote caching query for getting users departments for nav
fixed caching of departments/added transaction