Fixed the bugs in facebook login and added the profile page,
logout functionality.