refactored profile spec for logged-in user