The login handler was broken, please fix naow

JSONConfig(s) :bom:
Made the exit button close the server properly