defined app name and loginRedirect