create login controller connection