sigin functionality working