Fixed Issues with Blinking Sidebar and User Roles, Added Prerender Check