some changes on registeration page, added mysql error logging table, and error logging functionality to rgisteration page