redirect, and login stub