added encoding and username to deployment