An extremely crappy and dumb login system example using JSON.