removed sessions in db and minor change in pages layout