Removed unused button Register and fixed newtonsoft's bug