Add function to compare user password.
Create models from an io.Reader instead of []byte.