creates an API to get ME data.