Query API with POST and JSON.
Added a method for registration. Query API with POST and JSON.
Removed logic.iml from git.