add login/logout system & access counter