Session token - is used, let say to filter entries by particular user. All other logic should be made separately from session token.
I advice you to walk through our tutorials about Database, all this functionality is pretty well described there.
:: http://docs.appery.io/tutorials/#Data...
:: http://docs.appery.io/tutorials/build...