Updating htmls logging out and logging in using facebook