Fixed logout bug and navigation links