creating instance of ProfileBox view