added basic auth to production
fixed typo in basic auth
added default eager loading to models