Split ident server to its own function