Solidifying the login queue code