added authenticate

basic login/logout methods,
not tested