Added api.__init__.py

Wasn't a module before...
Rearrange user.py

Attributes more readable.
Fixed bug in log