UserBase as a separate class so that client and server can utilize this