redesigned prescription model and user_prescription model