add user cache in server side, rewrite session part