setting the homepage view