Fix bug when signed in