fixed syntax error in users model