Fix bugs with signin/out button