just some basic niceties

check login and allow logout