added and fixed files

fixed input error code in reg forms