refs #87 fixed sonar issues in user rest interface