Created use model and password authentication