Add user class and base templates