removed methods from server and moved functionality to base_conn_func