added session info to user resource