routing bug fixed and home page