Build out the signin/signout machinery