Refactored front_end.html