consolidated pat and doc logins