Now when the user logs out they are automatically brought back to the main menu.
Now the table schema part works.