restyled modal; better modal errors; fixed logout bug