Changed from hardcoded username and password to request it from user