Simple code for creating login using facebook api. Uses PHP Sessions to login and logout and retrieves user's name and profile image.