Fixed syntax error in User class