Login and logout building tables