added redirect in logout function
added if statement to redirect to login page if they aren't logged in through facebook