Add /sales?id=[EAN]
call login.checkToken instead of database.checkToken