Fixed issue of logging user out of facebook