added the connection to main page