Added access methods for private profile and implemented its tests.