Made sure password and username were strings