Session delete functionality added, some bugs resolved