add flash message after redirecting user to homepage (after registration)