Add get_user_ticket
Add support for JSON in GETs
Clean up useless variables