endpoint for getting object for any user id