changed in signup submit function for checking the records existence in the table