added userType to User.hpp