Repaired logout and removed config.h