adding mode in the front end
create/show mode of connection