Removed warnings and dev hack

Also added a logout button and removed the X button.