/join gives json responses for errors instead of just text