loginbyfacebook made better, logout made asynchronous