Getting the sigins and signouts working