Login/logout methods setup