added portfolio view functionality