added /me endpoint and code refactor