changed username and password to user and pass respectively