added rudimentary validation checks to login logic
updated api.call to return better results
Added Module.Module api. Implemented code to serialize json response to a python object