* api error handling improved
+ create profile api method