formatting
fixed auth bug