modified CAPopUpWindow a bit, and some work in profileViewController