Added registeration with mysql