added method to list permissions
added session details method