Added Facebook login, automatic account merging, and sign-out.
Fixed bad logout links, maybe it will work this time?