added progress bar and email validation