add jquery functions & mysql functions for signup page