Added Facebook login

1. Need to update database add two new columns
ALTER TABLE  `user` ADD  `email` VARCHAR( 200 ) NULL ,
ADD  `name` VARCHAR( 200 ) NULL ;

2. Check for errors , that may have creeped in  due to changes.

3.Get Facebook app id before login

4. To login with facebook  redirect user here  /index.php?pid=facebook