Added flash message after a successful registration
Write a method in the RegisterController that will allow the registered user to logged in the same time after registration went successfully.