addUser, isLogin are functions used