logout returns a String so app works correctly