checks whether the user is already login or not

Used get fb.getloginstatus to get the status of the user