#6 - add rest api for profile