Added the connect route and view. Ingoring logs and ~ files.