Implement getProfile