Fixed flash message after registration