Add logout route and test
Add logout route. Fix display of validation errors.