added visits functionality and styling