Added Frontend Fixed Bugs

Added frontend to all pages
Fixed bugs on main page