Final Code to get sign up working properly once form is done