Fix a bug

Save menu location in cookie,not mysql