Session functions

Session functions to add, update, delete, lock layers