Added stub for home page, fixed 2 bugs