capstone: checklogin and tool backend remaining