Arther-modified login/logout in front end