added a getTokenCall() function in usermodel.php