Add URL generation.
Restructure. Add debug.
Add ability to see response.
Drop to one line.
Fix login logout.