Added persistence session concept to the application