find problem with if else signin/signout