adding logout link. styling flash msgs.