Created inbox function for showing all inbox message