Fixed the registartion ajax