create dao and model for user