updated create_user to use .key file exclusively