Simple code for creating login using facebook api. Php sessions are used to create login and logout and when logged in the user's name and profile image is displayed