show flash message in homepage