Added a facebook login/logout script.Currently it runs as a java app only.