user login window update

updated json file formatting
added essential functions to userlogin class: userExists(),
read_userData(), write_userData()