Added /user and /user/:id endpoints.