Added author Moved Connect to private

Moved the connect function to private