minor, was testing same thing twice.
fixed bug in error response messages.