Refacrotred out old sign-up code and replaced with new signup code