testing if username and pass are set