Cleaned Code for UI Home Page