Fixed template errors related with user.class