JC-1740 Fixed hidden fields according to user rights. Fixed displaying of username.