added security def
fixed scheme
updated auth model
updated auth
updated auth