added models for persistance and user managmenet