Changed the behaviour of getUserName and getPassword to appeal to users.