Language variables and viewonline

- update language variables for permissions
- add viewonline function