new layout and styling plus redis logic