fix birthday bug and logout bug