Minor changes for file permission feature

Only owner can edit permission

change root to sessions#new
change logout to root