separate load and home page