Fixed package errors. Added Json support. Made a user endpoint.