get value from user and password