make the signin out working
handle rootviewcontroller