updated version + removed some prints + removed expire token every time a user view is loaded