Remove deprecated access to user profile
Restructure api of core app with services