adds _logout() to server User.replaceWith
adds handlers for /user/logout and /user/replaced in client User and adds logout() method
adds handler for _user.Replaced in Lightsquare - window.location.replace('/')
calls _user.login() on dashboard "login" in HomePage