added basic auth model