Fixed logout to main page