wp7: PAM fix and user state related