Made user model with secure passsword and tests