added the code that catches an error if the user is not signed in through face book