corrected syntax errors in user helper