mod login and users

Login changed to use json_decode instead of manually reading the file.

users.json added missing commas, changed mode from string to boolean,
either admin true or admin false