Addition to security

Fixed problem to save the right allowed calendar
Fixed display of wrong username in view
New method for userapi to get username of user to edit