adding view and mapping for home