Facebook logout was not working properly

Fixed - not entirely sure why this version works while the other did not