Registration of user implemented.
Script fixed.