Make sign in/out flow work