But surely it would be better to return a true/false rather than an entire JSON hash/false??