add pt for login view