adding security for connections controller