added user model with basic authentication