implementing homepage view