added user data and shared data endpoints (not finished)