adjusted user model to use srp