Added a flashMessage module, and intergrated it with the registration module