Added initial implementation of the user endpoint