changed return type for the function informUser