sigin and logout fixed