add resource loading route middleware for user modeled objected
update user session handling