Logic was moved into the models. Created mrthod for expressions handling
Created method to add token to responce header