Functions v .10

Added connect function and createUser function