changed the mobile test so that it works; modified the checkUserExists method