added flash message for new registration