Linked up the login/register/schedule activities