json_reply_and_session_cookie_implemented