Detect new clients and add it into database. After the connections refused clients are deleted from databases