Added more to the if conditional of username and password prompt.