fixed deletion of sessions
restricted the sessions displayed
fixed ui update on register new session
fixed some bugs in program-saving