update PHP and Javascript libraries to support new user password login feature