fix login channel and sessions