added table formatting on home and user activity